﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp8
{
    class Program
    {
        static void Main(string[] args)
        {
            Li Li = new Li();
            Console.WriteLine("请输入姓名：");
            Li.Name = Convert.ToString(Console.ReadLine());
            Console.WriteLine("请输入年龄：");
            Li.Age = int.Parse(Console.ReadLine());
            Console.WriteLine("请输入你所学的专业：");
            Li.Major = Convert.ToString(Console.ReadLine());
            Li.personal();
            
        }
    }
}
